﻿@{
	Layout = "~/Views/Shared/_Layout.cshtml";
}

			<div id="sub-menu-container">
				<ul class="sub-menu">
                @{
                    string action = ViewContext.RouteData.Values["action"].ToString();
                 }
					<li><a href='/Project/Details/@ViewBag.ProjectId' class='@(action == "Details" || action == "Edit" ? "current" : "")'>项目信息</a></li>
					@if (ViewBag.HasJoined || HttpContext.Current.User.IsInRole("Superviser"))
					{
						<li><a href='/Project/DocumentList/@ViewBag.ProjectId' class='@(action == "Files" || action == "SavePicture"|| action == "PictureList" || action == "DocumentList" || action == "ConferenceReportList" ? "current" : "")'>文件管理</a></li>
						<li><a href='/Project/MemberManage/@ViewBag.ProjectId' class='@(action == "MemberManage" ? "current" : "")'>成员管理</a></li>
						<li><a href='/Project/Process/@ViewBag.ProjectId' class='@(action == "Process" || action == "AddProcess" ? "current" : "")'>项目进展</a></li>
					}
					@if (HttpContext.Current.User.IsInRole("Superviser"))
					{ 
						<li><a href='/Project/Supervise/@ViewBag.ProjectId' class='@(action == "Supervise" ? "current" : "")'>项目审核</a></li>
					}
				</ul>
			</div>
			<div id="content">              
				@RenderBody()
			</div>
